# -*- coding: utf-8 -*-
import re

if __name__ == "__main__":
    items = ("open ~/Desktop/workspaces/python-tool/main/main.py",
             "python3 ~/Desktop/workspaces/python-tool/adb-tool/adb-tool.py",
             "open ~/Desktop/workspaces/python-tool/adb-tool/commands.txt",
             "~/Desktop/workspaces/jadx/bin/jadx-gui",
             "~/Desktop/workspaces/python-tool/shell/say_n6.sh",
             "~/Desktop/workspaces/python-tool/shell/install_others_apk.sh",
             "~/Desktop/workspaces/python-tool/shell/version_info_bq.sh",
             "~/Desktop/workspaces/python-tool/shell/airecord-10.sh",
             "export JAVA_HOME=$(/usr/libexec/java_home -v 1.8);export PATH=\"$JAVA_HOME/bin:$PATH\";java -version",
             "export JAVA_HOME=$(/usr/libexec/java_home -v 11);export PATH=\"$JAVA_HOME/bin:$PATH\";java -version",
             "export JAVA_HOME=$(/usr/libexec/java_home -v 17);export PATH=\"$JAVA_HOME/bin:$PATH\";java -version",
             "./gradlew lyra-view:clean && ./gradlew lyra-view:assembleRelease",
             "./gradlew lyra-daemon:clean && ./gradlew lyra-daemon:assembleautoRelease",
             "./gradlew lyra-assistant:clean && ./gradlew lyra-assistant:assembleN58775Release",
             "./gradlew lyra-daemon:clean && ./gradlew lyra-daemon:assemblen58775Release",
             "./gradlew buildAllJar",
             "python3 pak-for-car-local.py car all armeabi-v7a,armeabi,x86,x86_64,uploader",
             "adb pull /sdcard/etc/lyra/config.properties",
             "adb pull /mnt/sdcard/AdayoLog/logcat/ .",
             "adb pull /sdcard/Android/data/com.aispeech.lyra.daemon/cache/ .",
             "~/Desktop/workspaces/sbc77/lyra-auto/lyra-daemon/app/build/outputs/apk/auto/debug/lyra-daemon-auto-debug.apk"
             )
    for index, item in enumerate(items):
        # if re.search(".*\\.py", item):
        #     print(index, "python3 " + item)
        # else:
        #     print(index, item)
        print(index, item)
